<?php
namespace App\Http\Requests;


class LoginRequest extends BaseRequest {

    public function loginByMiniWechatRules()
    {
        return [
            'code'          => 'required'
        ];
    }

    public function loginByAliPayRules()
    {
        return [
            'code'          => 'required'
        ];
    }

    public function getMobileByMiniWechatRules()
    {
        return [
            'code'       => 'required',
            'cache'      => 'required'
        ];
    }

    public function getMobileByMiniAliPayRules()
    {
        return [
            'response'   => 'required',
            'cache'      => 'required'
        ];
    }
}
